//package com.sky.mapper;
//
//import com.sky.annotation.AutoFill;
//import com.sky.entity.SysUser;
//import com.sky.entity.User;
//import com.sky.enumeration.OperationType;
//import org.apache.ibatis.annotations.Insert;
//import org.apache.ibatis.annotations.Mapper;
//import org.apache.ibatis.annotations.Select;
//
//@Mapper
//public interface SysUserMapper {
//
//
//    @Select("select * from sys_user where username=#{username}")
//    SysUser getByUsername(String username);
//
//    //@AutoFill(OperationType.INSERT)
//
//    void add(SysUser sysUser);
//
//    @Select("select * from sys_user where mobile=#{phone}")
//    SysUser getByMobile(String phone);
//
//    @Select("select * from sys_user where id=#{id}")
//    SysUser getById(Integer id);
//}
